<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<script type="text/javascript">
  
   function contentsKeep() {
	   if(confirm("리스트를 담으시겠습니까?")){
		    test('a', 'b', callbacktest('저장완료'));
	   }
	   else {
		    test('a', 'b', callbacktest('저장실패'));
	   }
   }
   
   function callbacktest(test){
	   alert(test);
   }
   
   function test(test, test1, callback){
	    alert(test + "    :     " + test1);
/* 	    if(typeof callback == 'function'){
	    	callback();
	    }	   
 */   }
   
   
</script>
<div id="informationPage">
    <div id="informationPage-head">
        <span>헬스 정보</span>
        <div id="informationPage-head-caption"></div>
    </div>
    <div id="informationPage-contents">
<%--         <c:forEach var="i" step="1" begin="1" end="10">
            <c:if test=""></c:if> 
        </c:forEach> 
 --%>    
        <div>
           <div></div>  
           <div>
           
           </div>  
           <div>
                <div><span><button style="width: 78px; height: 33px;" onclick="javascript:contentsKeep();">담기</button></span></div>
           </div>  
        </div>
    </div>
<!--     <div id="informationPage-bottom"></div> -->
</div>